package com.fpt.edu.vn.h2tv.exception;

import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;

public class MissingParameterException extends WebApplicationException{
public MissingParameterException(String message){
    super(Response.status(Status.BAD_REQUEST).entity(message).type(  
            MediaType.TEXT_PLAIN).build());  
}
}
